<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <input type="text" id="search" />
    <button id="btn">发ajax</button>

    <script src="libs/zepto/zepto.js"></script>
    <script src="libs/zepto/event.js"></script>
    <script src="libs/zepto/ajax.js"></script>
    <script>
        var ajaxHandle = null;
        $('#search').off("keyup").on("keyup", function (e) {
            if (ajaxHandle) {
                ajaxHandle.abort();
            }
            ajaxHandle = $.ajax({
                url: `http://youyong.ba:8080/mock/609a94bd9fdbd7143b8d6737/aa/manage/list/index`,
                success:function (res) {
                    console.log(res);
                }
            })
        })


        // $('#btn').click(function () {
        //     $.ajax({
        //         url: `http://youyong.ba:8080/mock/609a94bd9fdbd7143b8d6737/aa/manage/list/index`,
        //         success:function (res) {
        //             console.log(res);
        //         }
        //     })
        // })

        //http://youyong.ba:8080/mock/609a94bd9fdbd7143b8d6737/aa/manage/list/index
        
    </script>
</body>
</html>